package com.esteel.settlement.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import com.esteel.settlement.dao.SettFundChgRepository;
import com.esteel.settlement.entity.TbSettFundChg;
import com.esteel.settlement.service.SettFundChgService;
import com.esteel.settlement.vo.FunChgQueryVo;

@Service
public class SettFundChgServiceImpl implements SettFundChgService {

	@Autowired
	private SettFundChgRepository tbSettFundChgRepository;
	
	@Override
	public TbSettFundChg save(TbSettFundChg settFundChg) {
		return tbSettFundChgRepository.save(settFundChg);
	}

	@Override
	public Page<TbSettFundChg> findByCustAcctId(FunChgQueryVo vo){
		return tbSettFundChgRepository.findByCustAcctId(vo);
	}

}
